package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 培训班详情对象 danmo_training_information
 *
 * @author yangle
 * @date 2024-10-10
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class DanmoTrainingInformation extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识每一条培训信息
     */
    private Long id;
    /**
     * 培训的标题或宣传语
     */
    @Excel(name = "培训的标题或宣传语")
    private String title;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 老师的简介
     */
    @Excel(name = "老师的简介")
    private String teacherIntro;
    /**
     * 老师
     */
    @Excel(name = "老师")
    private String teacher;

    /**
     * 省份
     */
    @Excel(name = "省份")
    private String province;

    /**
     * 市
     */
    @Excel(name = "市")
    private String citycode;

    /**
     * 县
     */
    @Excel(name = "县")
    private String countycode;

    /**
     * 授课地点
     */
    @Excel(name = "授课地点")
    private String location;

    /**
     * 培训内容概述
     */
    @Excel(name = "培训内容概述")
    private String content;

    /**
     * 联系方式
     */
    @Excel(name = "联系方式")
    private String contactInfo;

    /**
     * 电子邮箱地址
     */
    @Excel(name = "电子邮箱地址")
    private String email;

    /**
     * 培训相关图片的URL或存储路径。
     */
    @Excel(name = "培训相关图片的URL或存储路径。")
    private String imageUrl;

    /**
     * 信息提交后的审核状态
     */
    @Excel(name = "信息提交后的审核状态")
    private Long status;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量")
    private Long views;

    /**
     * 点赞量
     */
    @Excel(name = "点赞量")
    private Long amountPraise;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private List<DanmoTrainingType> typeList;

    /**
     * 审核状态（1.审核通过 2.审核中 3.未通过审核）
     */
    private int auditStatus;

    /**
     * 培训班logo
     */
    private String trainingCourseLogo;

    /**
     * 排序规则(0.默认排序 1.浏览量排序 2.点赞量排序)
     */
    private Integer sort;


    /**
     * 营业时间
     */
    private String remark;

    /**
     * 是否收藏
     */
    private String isCollect;

    /**
     * 是否点赞
     */
    private String isLike;

    /**
     * 营业执照
     */
    private String businessLicense;

    /**
     * 身份证正面
     */
    private String frontOfIdCard;

    /**
     * 身份证反面
     */
    private String reverseSideOfIdCard;

    /**
     * 教师
     */
    private List<DanmoTrainingTeacher> danmoTrainingTeacherList;

    private String provinceName;
    private String cityName;
    private String countyName;
    private String typeId;
    private List<DanmoTrainingInformationPicture> danmoTrainingInformationPictureList;
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    private List<DanmoTariningDoor> doorList;
    private List<DanmoTariningInteror> danmoTariningInterorList;
    private List<DanmoTariningWorks> danmoTariningWorksList;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("title", getTitle()).append("teacher", getTeacher()).append("userId", getUserId()).append("teacherIntro", getTeacherIntro()).append("province", getProvince()).append("citycode", getCitycode()).append("countycode", getCountycode()).append("location", getLocation()).append("content", getContent()).append("contactInfo", getContactInfo()).append("email", getEmail()).append("imageUrl", getImageUrl()).append("status", getStatus()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).append("views", getViews()).append("amountPraise", getAmountPraise()).append("typeList", getTypeList()).append("danmoTrainingInformationPictureList", getDanmoTrainingInformationPictureList()).append("doorList", getDoorList()).append("danmoTariningInterorList", getDanmoTariningInterorList()).append("danmoTariningWorksList", getDanmoTariningWorksList()).toString();
    }
}
